package com.lin.fengxiu.model;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.annotations.Where;

import javax.persistence.*;
import java.sql.Timestamp;

/**
 * @ClassName GridCategory
 * @Description TODO
 * @Author wushaopei
 * @Date 2021/3/17 12:46
 * @Version 1.0
 */
@Entity
@Setter
@Getter
@Where(clause = "delete_time is null")
public class GridCategory extends BaseEntity{
    @Id
    private Integer id;
    private String title;
    private String img;
    private String name;
    private Integer categoryId;
    private Integer rootCategoryId;
}
